devisualization.util.core.memory.managed

Managed memory is a safe wrapper around existing heap allocated memory. Safe heap allocated memory ensures that it cannot be deallocated until such time it is no longer used.

This has similar usages with refcounting and duplication.

Members

Functions

managers
auto managers()

Defaults to using ReferenceCountedManager as memory manager

managers
auto managers(U args)

Puts together a group of managers for use with managed!T

Interfaces

IMemoryManager
interface IMemoryManager
ISharedMemoryManager
interface ISharedMemoryManager

Structs

NeverDeallocateManager
struct NeverDeallocateManager
ReferenceCountedManager
struct ReferenceCountedManager
managed
struct managed(Type)

Implements a managed memory model representation for heap allocated data.

Meta

License

Copyright Devisualization (Richard Andrew Cattermole) 2014 - 2017. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)